package com.automannn.springboot.practice.loggingSystemFactory;

import org.springframework.boot.logging.LoggingSystem;
import org.springframework.boot.logging.LoggingSystemFactory;
import org.springframework.boot.logging.log4j2.Log4J2LoggingSystem;

/**
 * @author chenkh
 * @time 2021/10/8 13:33
 */
public class LoggingSystemFactoryTest {
    public static void main(String[] args) {
        LoggingSystemFactory factory = new Log4J2LoggingSystem.Factory();
       LoggingSystem loggingSystem =  factory.getLoggingSystem(LoggingSystemFactoryTest.class.getClassLoader());
       /*todo: 日志上下文没理清楚*/

    }
}
